General Error Values

The following error values can be returned by either the mciSendCommand_H60X4 or mciSendString1PGC_K2 function:

Value

Meaning

MCIERR_BAD_TIME_FORMAT

The specified value for the time format is invalid.

MCIERR_CANNOT_LOAD_DRIVER

The specified device driver will not load properly.

MCIERR_CANNOT_USE_ALL

The device name  all  is not allowed for this command.

MCIERR_CREATEWINDOW

Could not create or use window.

MCIERR_DEVICE_LENGTH

The device or driver name is too long. Specify a device or driver name that is less than 79 characters.

MCIERR_DEVICE_LOCKED

The device is now being closed. Wait a few seconds, then try again.

MCIERR_DEVICE_NOT_INSTALLED

The specified device is not installed on the system. Use the Drivers option from the Control Panel to install the device.

MCIERR_DEVICE_NOT_READY

The device driver is not ready.

MCIERR_DEVICE_OPEN

The device name is already used as an alias by this application. Use a unique alias.

MCIERR_DEVICE_ORD_LENGTH

The device or driver name is too long. Specify a device or driver name that is less than 79 characters.

MCIERR_DEVICE_TYPE_REQUIRED

The specified device cannot be found on the system. Check that the device is installed and the device name is spelled correctly.

MCIERR_DRIVER

The device driver exhibits a problem. Check with the device manufacturer about obtaining a new driver.

MCIERR_DRIVER_INTERNAL

The device driver exhibits a problem. Check with the device manufacturer about obtaining a new driver.

MCIERR_DUPLICATE_ALIAS

The specified alias is already used in this application. Use a unique alias.

MCIERR_EXTENSION_NOT_FOUND

The specified extension has no device type associated with it. Specify a device type.

MCIERR_EXTRA_CHARACTERS

You must enclose a string with quotation marks; characters following the closing quotation mark are not valid.

MCIERR_FILE_NOT_FOUND

The requested file was not found. Check that the path and filename are correct.

MCIERR_FILE_NOT_SAVED

The file was not saved. Make sure your system has sufficient disk space or has an intact network connection.

MCIERR_FILE_READ

A read from the file failed. Make sure the file is present on your system or that your system has an intact network connection.

MCIERR_FILE_WRITE

A write to the file failed. Make sure your system has sufficient disk space or has an intact network connection.

MCIERR_FILENAME_REQUIRED

The filename is invalid. Make sure the filename is no longer than eight characters, followed by a period and an extension.

MCIERR_FLAGS_NOT_COMPATIBLE

The specified parameters cannot be used together.

MCIERR_GET_CD

The requested file OR MCI device was not found. Try changing directories or restarting your system.

MCIERR_HARDWARE

The specified device exhibits a problem. Check that the device is working correctly or contact the device manufacturer.

MCIERR_ILLEGAL_FOR_AUTO_OPEN

MCI will not perform the specified command on an automatically opened device. Wait until the device is closed, then try to perform the command.

MCIERR_INTERNAL

A problem occurred in initializing MCI. Try restarting the Windows operating system.

MCIERR_INVALID_DEVICE_ID

Invalid device ID. Use the ID given to the device when the device was opened.

MCIERR_INVALID_DEVICE_NAME

The specified device is not open nor recognized by MCI.

MCIERR_INVALID_FILE

The specified file cannot be played on the specified MCI device. The file may be corrupt or may use an incorrect file format.

MCIERR_MISSING_PARAMETER

The specified command requires a parameter, which you must supply.

MCIERR_MULTIPLE

Errors occurred in more than one device. Specify each command and device separately to identify the devices causing the errors.

MCIERR_MUST_USE_SHAREABLE

The device driver is already in use. You must specify the  shareable  parameter with each open command to share the device.

MCIERR_NO_ELEMENT_ALLOWED

The specified device does not use a filename.

MCIERR_NO_INTEGER

The parameter for this MCI command must be an integer value.

MCIERR_NO_WINDOW

There is no display window.

MCIERR_NONAPPLICABLE_FUNCTION

The specified MCI command sequence cannot be performed in the given order. Correct the command sequence; then, try again.

MCIERR_NULL_PARAMETER_BLOCK

A null parameter block (structure) was passed to MCI.

MCIERR_OUT_OF_MEMORY

Your system does not have enough memory for this task. Quit one or more applications to increase the available memory, then, try to perform the task again.

MCIERR_OUTOFRANGE

The specified parameter value is out of range for the specified MCI command.

MCIERR_SET_CD

The specified file or MCI device is inaccessible because the application cannot change directories.

MCIERR_SET_DRIVE

The specified file or MCI device is inaccessible because the application cannot change drives.

MCIERR_UNNAMED_RESOURCE

You cannot store an unnamed file. Specify a filename.

MCIERR_UNRECOGNIZED_COMMAND

The driver cannot recognize the specified command.

MCIERR_UNSUPPORTED_FUNCTION

The MCI device driver the system is using does not support the specified command.